//ConcreteSubject.java
package observer.newmodel;

/**
 *@author:youtubezou
 *@version:2012-7-30
 */
public class ConcreteSubject extends Subject {
	private String state = "";
	@Override
	public String getMessage() {
		return state;
	}
	
	public void setMessage(String msg){
		this.state = msg;
		this.notifyObservers();
	}
}
